7 MyID Client Service

The MyID Client Service is installed on client PCs and provides access to smart cards and other hardware component for the browser-based MyID Operator Client.

To enable logging in the MyID Client Service, create a new file called Log.config in the same directory as MyIDClientService.exe and add the following content:

<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  </configSections>
  <log4net>
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
      <file value="C:\Logs\MCS.log" /> <!-- Set this to the path you want the log-file to be saved to -->
      <appendToFile value="true" />
      <rollingStyle value="Size" />
      <maxSizeRollBackups value="5" />
      <maximumFileSize value="10MB" />

      <staticLogFileName value="true" />
      <layout type="Intercede.MyID.Logging.Log4Net.LogLayout, Intercede.MyID.Logging.Log4Net" />
    </appender>
    <root>
      <level value="All" />
      <appender-ref ref="RollingFileAppender" />
    </root>
  </log4net>
</configuration>

Set the value of the file node to the path and name of the file to which you want to write the log. The logged-on user must have read-write access to this file.

To disable logging, delete the Log.config file.